﻿var ca = java.util.Calendar.getInstance();
var year = ca.get(java.util.Calendar.YEAR); //获得年份
var month = ca.get(java.util.Calendar.MONTH) + 1; //获得月份
var day = ca.get(java.util.Calendar.DATE);//获取日
var hour = ca.get(java.util.Calendar.HOUR_OF_DAY); //获得小时
var minute = ca.get(java.util.Calendar.MINUTE);//获得分钟
var second = ca.get(java.util.Calendar.SECOND); //获得秒
var aa9 ="#fEffect/ItemEff/1102491/effect/proneStab/0#";

function start() {
	if((minute >= 0 && minute < 60)){
		cm.dispose();
		cm.openNpc(1540202, "GameCenter");
		} else {
		cm.sendOk("\t\t\t"+aa9+"\r\n\t\t#b#e服务器当前时间：#r" + hour +":" + minute + ":" + second + "#k#n\r\n\r\n\t#d每小时的30分-31分会有系统提示，可获得 #r大量魔方、强化混沌卷轴、喇叭、征服者币、星星、无损高级装备强化卷、正向卷轴、祝福卷轴、惊人正义混沌卷、点卷、抵用卷#d 奖励");
		cm.dispose();
	}
}